package com.design.document.service;

import com.design.document.common.ResponseService;
import com.design.document.entity.User;


/**
 * @author complone
 * @Description 用户服务
 * @Date 14:53 2018/7/6
 * @return 返回用户接口
 **/
public interface UserService {


    ResponseService<User> login(String username, String password);

    ResponseService<String> regist(User user);

    ResponseService<User> findByUserName(String username);

}
